
#head{
    width: 100%;
    height: 200px;
    background: #f0f5f9;
}
#head img{
    margin-top: 10px;
    height: 100px;
    margin-left: 100px;
}

#head .nodrop{
    background: skyblue;
    width: 100px;
    margin-left: 98px;
    margin-top: 2px;
    display: block;
    text-align: center;
    border-radius: 10px;
    padding: 5px;
}
#head .right{
    margin-top: -80px;
}
#head .right input:nth-child(1){
    margin-left: 400px;
    width: 500px;
    height: 50px;
    border-radius: 20px;
    border: none;
}
#head .right input:nth-child(2){
    margin-left: -104px;
    width: 100px;
    height: 50px;
    border-radius: 20px;
    background: #8cb1c7;
    border: none;
}
#head .right .all{
    margin-left: 940px;
    height: 100px;
    width: 300px;
    margin-top: -70px;
    display: flex;
  
}
#head .right .all div{
    display: flex;
    flex-direction: column;
    width: 80px;
    justify-content: space-around;
}
#head .right .all span:nth-child(2n-1){
    font-size: 40px;
}
#head .right .all span:nth-child(2n){
    margin-left: -20px;
    top:60px;
}
#head .headimg{
    display: inline-block;
    margin-left: 1150px;
    margin-top: -110px;
}
#head .headimg span{
    display: block;
    margin-left: 90px;
}

#head .headimg img{
    border: 2px solid steelblue;
    border-radius: 50px;
    width: 80px;
    height: 80px;

}


/* 导航 */
li{
    list-style-type: none;
}
#nav {
    width: 100%;
    height: 45px;
    background-color: #445f83;
}
#nav ul{
    margin-left: 280px;
}
#nav li{
    float: left;
    width: 150px;
    line-height:39px;
    text-align: center;
    position:relative;
    border:none;
}

#nav li a {
    font-size:16px; color: #F4F4F4;
    display:block;
    outline:0;
    text-decoration:none; 
}
#nav li:hover a {
    color: #7ab8ff; /*导航栏文字颜色 */
}
#nav li:hover .dropdown_1column {
    left:0px;
    top:38px;
}
.dropdown_1column{ /* 下拉菜单边框颜色*/
    margin: 0px auto;
    float: left;
    position: absolute;
    left: -999em;
    text-align: left;
    border: 1px solid #98adbf;
    border-top: none;
    background: #e0eaf1;
    width: 92px;
    z-index: 99;
}
#nav li:hover div a { /* 下拉菜单文字颜色*/
font-size:12px
;color:rgb(82, 47, 28);
}

#nav li:hover div a:hover{color:#0a1827;} /*下拉带单鼠标停留颜色*/

#nav li ul {
list-style:none;
padding:10px 5px;
margin:0;
}
#nav li ul li {
font-size:12px;
line-height:26px;
position:relative;
padding:0;margin:0;
float:none;
text-align:left;
width:130px;
}
#nav li ul li:hover {
background:none;
border:none;padding:0;
margin:0;
}

/* 商品列表 */
a{
    text-decoration: none;
    color: rgb(43, 42, 42);
}
.cart-wraper {
    width: 1200px;
    margin: 100px auto;
}
.cart-wraper table{
    width: 100%;
}
.cart-wraper tr {
    line-height: 40px;
    text-align: center;
}
.cart-wraper tr,
th,
td {
    border-bottom: 1px dotted gray;
}
.cart-wraper tr input {
    width: 20px;
    text-align: center;
}

.cart-wraper .name{
    overflow: hidden;
    width: 50px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-wraper table img{
    width: 80px;
    height: 100px;
}
.cart-wraper .total{
    margin-left: 900px;
    padding-top: 30px;
    display: block;
    font-size: 20px;
}
/* 添加商品表单 */
.prowraper{
    width: 600px;
    margin: 20px auto;
    border: 1px solid gray;
}
.prowraper form{
    width: 100%;
    padding: 20px;
}
.prowraper form input{
    margin-top: 10px;
    width: 90%;
    line-height: 30px;
}

.prowraper form #confirm{
    margin-top: 10px;
    width: 200px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}

